package dongshi.daddy.prototype.deepcopy;

public class DeepClone {
    public static void main(String[] args) {
        Thing1 thing = new Thing1();
        thing.setValue("张三");
        Thing1 cloneThing= thing.clone();
        cloneThing.setValue("李四");
        System.out.println("原始对象："+thing.getValue());
        System.out.println("克隆对象："+cloneThing.getValue());

    }
}
